home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / share / doc / iso-codes / README < prev    next >
Encoding:
Text File  |  2006-11-04  |  2.3 KB  |  90 lines

  1. This package aims to provide the list of the country and language
  2. (and currency) names in one place, rather than repeated in many
  3. programs throughout Debian.
  4.  
  5. Currently there are lists of languages and countries embedded in:
  6.  
  7. - Gnome Libs
  8. - bootfloppies / PGI
  9. - KDE
  10. - Gnumeric
  11. - Gnucash
  12. - ...
  13.  
  14. This leads to about a dozen lists of 200 languages, translated
  15. into >30 languages ... not very efficient. The aim of this patch
  16. is to create a single "gettext" domain "iso-639" which contains
  17. the translations of language names, and one "iso-3166" listing
  18. the translations of Country  names.
  19.  
  20. So the plan is then to be able to use
  21.     dgettext("iso-639", language_name)
  22. to get the correct translations.
  23.  
  24. The files
  25. /usr/share/xml/iso-codes/iso_639.xml
  26. /usr/share/xml/iso-codes/iso_639_3.xml
  27. /usr/share/xml/iso-codes/iso_4217.xml
  28. /usr/share/xml/iso-codes/iso_3166.xml
  29. /usr/share/xml/iso-codes/iso_3166_2.tab
  30.  
  31. store the files in simple XML format.
  32.  
  33. The files
  34.  
  35. ISO-3166
  36. --------
  37.  
  38. This lists the 2-letter country code and "short" country name.
  39.  
  40. ISO-639
  41. -------
  42. This lists the 2-letter and 3-letter language codes and language names
  43.  
  44.  
  45. ISO-639-3
  46. ---------
  47. This is a DRAFT extension to the ISO-639 standard.
  48.  
  49. ISO_4217
  50. --------
  51. This lists the currency codes and names
  52.  
  53.  
  54. ISO 3166_2
  55. -----------
  56. The ISO 3166 standard includes a "Country Subdivision Code",
  57. giving a code for the names of the principal administrative
  58. subdivisions of the countries coded in ISO 3166.
  59.  
  60. ISO 3166-2 is a set of files giving this ISO 3166-2 standard:
  61. (available at http://www.din.de/gremein/nabd/iso3166ma/a3ptnorm.html)
  62. this is a standard that gives short codes for provinces,
  63. etc. within a country. As these also list the provinces, Counties,
  64. etc. within a country, they could also be used to provide a
  65. drop-down list when someone is entering addresses...
  66.  
  67. ---------------------------------------------------------------------
  68. DEVELOPING USING PKGCONFIG
  69. --------------------------
  70.  
  71. A pkgconfig file has been included to aid developing with this package.
  72. You can detect the prefix where the translations have been placed using
  73.  
  74. $ pkg-config --variable=prefix iso-codes
  75. /usr
  76.  
  77. You can detect which sets of translation (domain) files have been installed using
  78. $ pkg-config --variable=domains iso-codes
  79. iso-639 iso-3166 iso-4217 iso-3166-1 iso-3166-2 iso-3166-3
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86. --
  87. Alastair McKinstry, <mckinstry@debian.org>, 2003-12-24
  88.      
  89.      
  90.